{template common/contentheader}
<div class="setcontent">
	<div class="settitle">
		<h3>{lang admin_basic_pzglobal:admin}</h3>
	</div>
	<div class="alert alert-info mt10">
	<span class="label label-info">{lang info:admin}</span>
	{lang admin_basic_pzglobal_tip:admin}
</div>
	<div class="setform">
		<form class="pzform" action="{url admin/basicpzglobal?act=save}" method="post">
			
			<div class="formgroup">
				<label class="formlabel">{lang language_package:admin}:</label>
				<div class="formcontrol">
              		<select class="span2" id="language" name="language">
              		{loop $dirs $d}
			            <option value="$d" {if $d==$setting['language']}selected{/if}>$d</option>
			        {/loop}
			        </select>
				</div>
				<span class="formhelp">{lang language_package_tip:admin}</span>
			</div>
			
			
			<div class="formgroup">
				<label class="formlabel">{lang default_module:admin}:</label>
				<div class="formcontrol">
              		<input type="text" name="default_module" value="$setting['default_module']"/>
				</div>
				<span class="formhelp">{lang default_module_tip:admin}</span>
			</div>
			
			
			<div class="formgroup">
				<label class="formlabel">{lang time_format:admin}:</label>
				<div class="formcontrol">
					<input type="text" id="date_format" name="date_format" value="$setting['date_format']"/>
				</div>
				<span class="formhelp">{lang time_format_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang time_zone:admin}:</label>
				<div class="formcontrol">
					<select id="timeoffset" name="timeoffset">
					{loop $timezones $key $timezone}
						<option value="$key" {if $setting['timeoffset']==$key}selected{/if}>$timezone</option>
					{/loop}
					</select>
				</div>
				<span class="formhelp">{lang time_zone_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang pathinfo_support:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="pathinfo_support" value="1" {if $setting['pathinfo_support']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="pathinfo_support" value="0" {if !$setting['pathinfo_support']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang pathinfo_support_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang rewrite_open:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="url_rewrite" value="1" {if $setting['url_rewrite']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="url_rewrite" value="0" {if !$setting['url_rewrite']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang rewrite_open_tip:admin}</span>
			</div>
			
			
			<div class="formgroup">
				<label class="formlabel">{lang gzip_open:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="compress_output" value="1" {if $setting['compress_output']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="compress_output" value="0" {if !$setting['compress_output']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang gzip_open_tip:admin}</span>
			</div>
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}